<style>
.scroller-mask.tigys {
	height:36px;
}
.scroller-item-wrapper.tigys div{
	height:36px;
}
</style>
<div class="bh-pjone-bottom-left bh-fl">
	<h1>推荐供应商</h1>
	<div class='scroller-mask tigys'>
		<div class='scroller-item-wrapper'>
		<?php foreach ($model as $index=>$one):?>
		<?php #if($index == 2) break;?>
		<div>
		<p>供应商名称：<?php echo CHtml::link(CHtml::value($one, 'worker.profile.realname'),
				Yii::app()->createUrl('shop/index',array('uid'=>$one->worker_id)),
				array('target'=>'_blank','title'=>CHtml::value($one, 'worker.profile.realname'))
			)?>
		</p>
		<p>供应商信息：
			<em title='<?php echo CHtml::value($one, 'worker.info.desc')?>'><?php echo CUtilHelper::string()->msubstr(CHtml::value($one, 'worker.info.desc'), 0,20, 'utf-8','...')?></em>
		</p>
		</div>
		<?php endforeach;?>
		</div>
	</div>
</div>
<?php $this->widget('coms.ui.Scrollerable', array(
	'id' => 'tjgys',
	'step' => 1,
	'wrapper' => '.tigys .scroller-item-wrapper',
	'items' => '.tigys .scroller-item-wrapper div',
))?>